package com.ysd.lis.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;

import java.sql.Timestamp;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 节假日表
 * </p>
 *
 * @author LiuQi
 * @since 2024-03-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("WK_HOLIDAY")
public class WkHoliday extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 假期编码
     */
    @TableField("HOLIDAY_CODE")
    private String holidayCode;

    /**
     * 假期名称
     */
    @TableField("HOLIDAY_NAME")
    private String holidayName;

    /**
     * 日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    @TableField("HOLIDAY")
    private Timestamp holiday;

    /**
     * 级别
     */
    @TableField("HOLIDAY_LEVEL")
    private String holidayLevel;

    /**
     * 是否补班  0否 1 是
     */
    @TableField("IS_REPAIR")
    private BigDecimal isRepair;

    /**
     * 备注
     */
    @TableField("REMAKE")
    private String remake;

    /**
     * 备注
     */
    @TableField("SEQ")
    private BigDecimal seq;
}
